home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
5_6.lha
/
5_6
/
makefile
< prev
Wrap
Makefile
|
1993-08-08
|
549b
|
29 lines
C= CC -I. -I../../CC
RROR= ../../error.o
FLAGS= -g -I.
ll: 5_6a 5_6b
_6a: 5_6a.o 5_6test.c
$(CC) $(CFLAGS) -DA 5_6a.o 5_6test.c -o 5_6a $(ERROR)
_6b: 5_6b.o 5_6test.c
$(CC) $(CFLAGS) -DB 5_6b.o 5_6test.c -o 5_6b $(ERROR)
_6a.o: 5_6a.c 5_6A.h char_queue.h
$(CC) $(CFLAGS) -DA -c 5_6a.c
_6b.o: 5_6b.c 5_6B.h char_queue.h
$(CC) $(CFLAGS) -DB -c 5_6b.c
MP= 5_6a.cmp 5_6b.cmp
UT= 5_6a.out 5_6b.out
_6a.out: 5_6a ; 5_6a > 5_6a.out
_6b.out: 5_6b ; 5_6b > 5_6b.out
est: all $(OUT) $(CMP)
cmp 5_6a.out 5_6a.cmp
cmp 5_6b.out 5_6b.cmp
echo tests done